#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>

using namespace std;

int main()
{
	int N;
	cin >> N;
	for (int i = 1; i <= 10; i++)
	{
		cout << i << " x " << N << " = " << i * N << endl;
	}
	return 0;
}